package com.petsdar.pojo;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * Created with IntelliJ IDEA
 * User: heroC
 * Date: 2020/6/27
 * Time: 18:09
 * Description: 员工信息类
 * Version: V1.0
 */

@Component
public class Emp implements Serializable {
    private static final long serialVersionUID = 62718091130L;
    /** 员工ID */
    private BigInteger empId;
    /** 员工姓名 */
    private String empName;
    /** 员工性别 */
    private String empSex;
    /** 员工入职日期 */
    private Date empHiredate;
    /** 员工店铺 */
    private String empShop;
    /** 员工所在城市 */
    private String empCity;
    /** 员工所在城市 */
    private String empPosition;
    /** 员工电话 */
    private String empTel;
    /** 员工信息创建时间 */
    private Date empCreateTime;
    /** 员工信息更新时间 */
    private Date empUpdateTime;

    public Emp() {
    }

    public Emp(BigInteger empId,
               String empName,
               String empSex,
               Date empHiredate,
               String empShop,
               String empCity,
               String empPosition,
               String empTel,
               Date empCreateTime,
               Date empUpdateTime) {
        this.empId = empId;
        this.empName = empName;
        this.empSex = empSex;
        this.empHiredate = empHiredate;
        this.empShop = empShop;
        this.empCity = empCity;
        this.empPosition = empPosition;
        this.empTel = empTel;
        this.empCreateTime = empCreateTime;
        this.empUpdateTime = empUpdateTime;
    }

    public Emp(BigInteger empId,
               String empName,
               String empSex,
               Date empHiredate,
               String empShop,
               String empCity,
               String empPosition,
               String empTel,
               Date empUpdateTime) {
        this.empId = empId;
        this.empName = empName;
        this.empSex = empSex;
        this.empHiredate = empHiredate;
        this.empShop = empShop;
        this.empCity = empCity;
        this.empPosition = empPosition;
        this.empTel = empTel;
        this.empUpdateTime = empUpdateTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public BigInteger getEmpId() {
        return empId;
    }

    public void setEmpId(BigInteger empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpSex() {
        return empSex;
    }

    public void setEmpSex(String empSex) {
        this.empSex = empSex;
    }

    public Date getEmpHiredate() {
        return empHiredate;
    }

    public void setEmpHiredate(Date empHiredate) {
        this.empHiredate = empHiredate;
    }

    public String getEmpShop() {
        return empShop;
    }

    public void setEmpShop(String empShop) {
        this.empShop = empShop;
    }

    public String getEmpCity() {
        return empCity;
    }

    public void setEmpCity(String empCity) {
        this.empCity = empCity;
    }

    public String getEmpPosition() {
        return empPosition;
    }

    public void setEmpPosition(String empPosition) {
        this.empPosition = empPosition;
    }

    public String getEmpTel() {
        return empTel;
    }

    public void setEmpTel(String empTel) {
        this.empTel = empTel;
    }

    public Date getEmpCreateTime() {
        return empCreateTime;
    }

    public void setEmpCreateTime(Date empCreateTime) {
        this.empCreateTime = empCreateTime;
    }

    public Date getEmpUpdateTime() {
        return empUpdateTime;
    }

    public void setEmpUpdateTime(Date empUpdateTime) {
        this.empUpdateTime = empUpdateTime;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", empSex='" + empSex + '\'' +
                ", empHiredate=" + empHiredate +
                ", empShop='" + empShop + '\'' +
                ", empCity='" + empCity + '\'' +
                ", empPosition='" + empPosition + '\'' +
                ", empTel='" + empTel + '\'' +
                ", empCreateTime=" + empCreateTime +
                ", empUpdateTime=" + empUpdateTime +
                '}';
    }
}
